package com.xysd.examproject.util.http;

import com.xysd.examproject.constant.ConstantParser;

import org.xutils.http.HttpMethod;

import java.util.HashMap;
import java.util.Map;


/**
 * @author Donghui 网络请求方法类
 * 
 */
public class HttpUtil {

	/**
	 * 获取房源信息
	 * 
	 * @param teacherid
	 * @param callBack
	 */
	public static void getTeacherDetails(String teacherid,
			HttpCallBack callBack) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("teacherid", teacherid);
		HttpRequestUtil.send( HttpMethod.POST, ConstantParser.GETTEACHERDETAILS,
				map, callBack);
	}


}
